//
//  SgyCollectionViewCell.h
//  PAChat
//
//  Created by ShiMac on 15/6/3.
//  Copyright (c) 2015年 FreeDo. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol CollectionViewCellDelegate;

@interface SgyCollectionViewCell : UICollectionViewCell

@property (strong)  UIImageView *imageView;
@property (strong)  UIButton    *selectBtn;
@property (nonatomic, strong) UIImageView   *videoIcon;
@property (nonatomic, strong) UILabel       *timeLabel;
@property (nonatomic,strong) NSMutableArray *ary;
@property (nonatomic,assign)id<CollectionViewCellDelegate> delegate;

-(NSString*)getDurationWithFormat:(NSTimeInterval)duration;


@end
@protocol CollectionViewCellDelegate <NSObject>

-(BOOL)didSelectCell:(UIButton *)result;


@end